package com.yq.day71;

/**
 * @author 3307235355@qq.com
 * @description
 * @since 2022/07/01 19:38
 */
public class Student1 {
    String name;
    int age ;
    int score;

    public Student1() {
    }

    public Student1(String name, int age, int score) {
        this.name = name;
        this.age = age;
        this.score = score;
    }

    public void study(){
        System.out.println(name+"正在学习");

    }

    @Override
    public String toString() {
        return "Student1{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", score=" + score +
                '}';
    }
}
